package Presentation;

import Data.Syndrome;
import Logic.SyndromeFacade;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.inject.Named;
import javax.inject.Inject;
import javax.enterprise.context.SessionScoped;

@Named(value = "syndromeController")
@SessionScoped
public class SyndromeController extends AbstractController<Syndrome> implements Serializable {

    @Inject
    private SyndromeFacade ejbFacade;

    public SyndromeController() {
        super(Syndrome.class);
    }

    @PostConstruct
    public void init() {
        super.setFacade(ejbFacade);
    }
}
